package com.heima.pro_system;

import java.util.ArrayList;

public class Tset {
    public static void main(String[] args) {
        ArrayList<Product> list = new ArrayList<>();
        Mall m = new Mall(list);
        Product p1 = new Goods("电冰箱",3000,8);
        Product p2 = new Goods("iphone",8000,9.9);
        Product p3 = new Goods("iqoo",2500,7.5);
        Product p4 = new Goods("空调",4000,8);
        m.addProduct(p1);
        m.addProduct(p2);
        m.addProduct(p3);
        m.addProduct(p4);
        m.displayProductInfo();
    }
}
